package cn.edu.nju.software.cdiy.service;

import java.util.List;

import cn.edu.nju.software.cdiy.bean.Horder;
import cn.edu.nju.software.cdiy.bean.Supplier;
public interface SupplierService {

    public  Supplier login(String signInName, String password);
			
    public Supplier login(Supplier supplier);
	
	public  Supplier updateSupplier(Supplier supplier);
	public Supplier registor(Supplier supplier);
	
	public List<Horder> getHorderUnDone(int supplierId,int page,int pageSize);
	
	public long getHorderUnDoneLenght(int supplierId);
	
	public List<Horder> getHorderDone(int supplierId,int page,int pageSize);
	
	public long getHorderDoneLenght(int supplierId);
	
	public List<Horder> getHorderAll(int supplierId,int page,int pageSize);
	
	public long getHorderAllLength(int supplierId);
}
